package com.usefullc.user.param;

import com.usefullc.common.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Sampson
 * @date: 2022-02-14 16:23
 */
@ApiModel("用户修改密码参数")
@Data
public class UpdatePwdParam  extends BaseDomain {

    @NotBlank(message="旧密码不能为空")
    @ApiModelProperty(notes = "旧密码",example = "123456",required = true)
    private String oldPwd;


    @NotBlank(message="新密码不能为空")
    @ApiModelProperty(notes = "新密码",example = "123456",required = true)
    private String newPwd;

}
